/*
 * Copyright (c) 2011 Jean-Marc Perronne
 * Ensisa, 12 rue des Freres Lumieres, F-68093 Mulhouse cedex
 * All rights reserved.
 *
 * The copyright of this software is owned by Werner Randelshofer. 
 * You may not use, copy or modify this software, except in  
 * accordance with the license agreement you entered into with  
 * Jean-Marc Perronne. For details see accompanying license terms. 
 */

package fr.uha.ensisa.jmp.drone.navdata;

import java.nio.ByteBuffer;

public class Matrix33
{
	public float m11;
	public float m12;
	public float m13;
	public float m21;
	public float m22;
	public float m23;
	public float m31;
	public float m32;
	public float m33;
	
	public Matrix33()
	{
	}
	
	public Matrix33(ByteBuffer data)
	{
		this.update(data);
	}

	public void update(ByteBuffer data)
	{
		this.m11 = data.getFloat();
		this.m12 = data.getFloat();
		this.m13 = data.getFloat();
		this.m21 = data.getFloat();
		this.m22 = data.getFloat();
		this.m23 = data.getFloat();
		this.m31 = data.getFloat();
		this.m32 = data.getFloat();
		this.m33 = data.getFloat();
	}
}
